#ifndef _POT_H_
#define _POT_H_

#define MAXSPEED 250
#define SPREAD_GOAL 50
#define RADIUS_GOAL 2 
#define SPREAD_OBS 8
#define RADIUS_OBS 5
typedef struct vector
{
    double lat;
    double lon;
}VECTOR;

void calcAttract(double currLat, double currLon, VECTOR *attForce);
void calcRepulse(VECTOR *repForce);
void calcComposite(VECTOR *attForce, VECTOR *repForce, double *heading, double *speed);
double lawCosines(double lat1, double lon1, double lat2, double lon2);


#endif
